/*评论弹窗的样式开始*/
.review-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* 确保在页面上方显示 */
}

.review-form-container {
    background-color: #fff;
    padding: 20px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.review-form-container h3 {
    margin-top: 0;
}

.review-form-container form {
    display: grid;
    gap: 10px;
}

.review-form-container label {
    font-weight: bold;
}

.review-form-container button[type="submit"] {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.review-form-container button[type="submit"]:hover {
    background-color: #0056b3;
}
.rating{
    background: #FFFFFF;
}
.rating img {
    width: 98px; /* 根据需要调整大小 */
    height: auto;
}
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
}

.close-btn:hover {
    background-color: #bd2130;
}
/*评论弹窗的样式结束*/


/*订单的样式开始*/



.order-list {
    width: 100%;
}

.order-entry {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #faf1d6;

}

.order-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.order-info {
    display: flex;
    flex-direction: column;
}

.table-id, .order-code, .order-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.order-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
}

.total-price {
    margin-bottom: 10px;
    font-size: 25px;
}
.button-group {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.pay-button, .add-review-button {
    padding: 8px 12px;
    font-size: 14px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 20px; /* 圆角设置 */
    cursor: pointer;
    margin-bottom: 10px; /* 垂直间距 */
}

.pay-button:hover, .add-review-button:hover {
    background-color: #0056b3;
}
.pay-button {
    order: 2; /* 确保付款按钮在最右 */
}

.add-review-button {
    order: 1; /* 确保评价按钮在付款按钮左边 */
}
.paid-status {
    font-size: 14px;
    color: #007bff;
    margin-right: 10px;
}



.order-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.order-item {
    display: flex;

    align-items: center;
    padding: 10px 0;
}

.food-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 10px;
}

.food-info {
    display: flex;
    flex-direction: column;
}

.food-name, .food-quantity {
    font-size: 14px;
    color: #333;
    margin-bottom: 2px; /* 缩小间距 */
    width: 111px;
}

.food-price {
    font-size: 14px;
    color: #333;
    margin-bottom: 2px; /* 缩小间距 */
    width: 111px;
}

.divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin-top: 10px;
}
.expand-button {
    padding: 8px 12px;
    font-size: 14px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 20px; /* 圆角设置 */
    cursor: pointer;
    margin-top: 10px;
}

.expand-button:hover {
    background-color: #0056b3;
}






